;; 编程相关的通用插件和配置
(when (maybe-require-package 'highlight-parentheses)
  (add-hook 'prog-mode-hook 'highlight-parentheses-mode)

  (custom-set-variables
   '(highlight-parentheses-colors (list "black"
                                        "red"
                                        "blue"
                                        "green"
                                        "cyan"
                                        "orange"))
   '(highlight-parentheses-background-colors nil))
   (custom-set-faces
    '(highlight-parentheses-highlight ((nil (:inherit 'bold)))))
   )

;; (when (maybe-require-package 'highlight-indent-guides)
;;   (add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
;;   )

  (provide 'init-prog)
